package net.oschina.esb.exception;

/**
 * @author Arvin
 * @time 2018/5/5 9:06
 */
public class SignFailException extends EsbException {

    public static final int ERROR_CODE = 401;

    public SignFailException() {
        super(ERROR_CODE, "签名错误");
    }

    public SignFailException(String message) {
        super(ERROR_CODE, "签名错误: " + message);
    }

    public SignFailException(String signType, String actual, String expect) {
        super(ERROR_CODE, "签名错误: signType=[" + signType + "] actual=[" + actual + "] expect=[" + expect + "]");
    }
}
